var template = "<nav class='navbar' style='background:#ddd0dd;'>"+
	   			"<div class='container'>"+
	   				"<div class='navbar-header'>"+
	   					"<a class='navbar-brand' href='index.php'>XX超市</a>"+
	   				"</div>"+
	   				"<div class='collapse navbar-collapse' id='bs-example-navbar-collapse-1'>"+
	   					"<ul class='nav navbar-nav'>"+
	   						"<li class='dropdown'>"+
	   							"<a href='#' class='dropdown-toggle' data-toggle='dropdown'>商品管理<span class='caret'></span></a>"+
	   							"<ul class='dropdown-menu'>"+
	   								"<li><a href='goodsList.php'>所有商品</a></li>"+
	   								"<li><a href='addGoods.php'>添加商品</a></li>"+
	   								"<li><a href='typeList.php'>商品类型列表</a></li>"+
	   								"<li><a href='addType.php'>添加商品类型</a></li>"+
	   							"</ul>"+
	   						"</li>"+
	   						"<li class='dropdown'>"+
	   							"<a href='#' class='dropdown-toggle' data-toggle='dropdown'>登录管理<span class='caret'></span></a>"+
	   							"<ul class='dropdown-menu'>"+
	   								"<li><a href='changeLogin.php' id='changeLogin'>修改登录信息</a></li>"+
	   								"<li><a href='#' id='loginOut'>退出登录</a></li>"+
	   							"</ul>"+
	   						"</li>"+
	   					"</ul>"+
	   				"</div>"+
	   			"</div>"+
	   		"</nav>";
var nav = 'qqqqq';

function nav(){
	$('body').html(nav);
}
